package com.ns002.yigou.quote.domain;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Set;

/**
 * Created by xu on 2017/1/9.
 * 产品
 */
public class Product implements Serializable {

    private Integer id;
    /** 产品行情对应的代号 XAG1 OIL HGNI */
    private String contract;
    /**
     * 代号名称， 哈贵银， 哈贵镍
     */
    private String contractName;
    /** 是否启用 1为启用 */
    private String flag;
    /** 机构 */
    private String org;
    /**
     * 别名，行情数据库的别名,对每种产品的标识
     */
    private String alias;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContract() {
        return contract;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getOrg() {
        return org;
    }

    public void setOrg(String org) {
        this.org = org;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }
}
